Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Finder Guide /
Chapter 2 - Finder Objects / Object Class Definitions


Accessory Process

An object of class Accessory Process is a process launched from a desk accessory file.

PROPERTIES
An accessory process has all the properties defined for object class Process on page 76: Creator Type, File, File Type, Frontmost, Name, Partition Size, Partition Space Used, Remote Events, Scriptable, and Visible.

An accessory process also has this property:

desk accessory file
The desk accessory file from which this accessory process was launched.
Class: Reference
Modifiable: No
ELEMENT CLASSES
None

COMMANDS HANDLED
Count, Data Size, Exists, Get, Sort

DEFAULT VALUE CLASS RETURNED
A reference or (if you use the plural form accessory processes) a list of references of the form

application "AccessoryProcessName"
where AccessoryProcessName is the name of an accessory process as it appears in the Applications menu.

EXAMPLE
This script returns a list of references to the accessory processes that are currently running:

tell application "Finder"   every accessory process
end tell 

--result: {application "Alarm Clock", application 
"Calculator", application "Notepad"}

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996